package com.example.onlinemonitoring.model;

import com.example.onlinemonitoring.model.common.sensor;
import javax.persistence.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.example.onlinemonitoring.AOP.Float2Serializer;
public class Oilconfig extends sensor {
    @Id
    private Integer id;

    /**
     * 所属变电站的编号。外键，指向staion的主键id。
     */
    private Integer stationid;

    /**
     * 设备组
     */
    private Integer devicegroup;

    /**
     * 设备地址
     */
    private Integer deviceaddr;

    private String gas;

    @JsonSerialize(using = Float2Serializer.class)
    private Float height1;
    @JsonSerialize(using = Float2Serializer.class)
    private Float o2basevalue;
    @JsonSerialize(using = Float2Serializer.class)
    private Float n2basevalue;
    public Float getO2basevalue() {
        return o2basevalue;
    }

    public void setO2basevalue(Float o2basevalue) {
        this.o2basevalue = o2basevalue;
    }

    public Float getN2basevalue() {
        return n2basevalue;
    }

    public void setN2basevalue(Float n2basevalue) {
        this.n2basevalue = n2basevalue;
    }

    public Float getH2obasevalue() {
        return h2obasevalue;
    }

    public void setH2obasevalue(Float h2obasevalue) {
        this.h2obasevalue = h2obasevalue;
    }
    @JsonSerialize(using = Float2Serializer.class)
    private Float h2obasevalue;
    @JsonSerialize(using = Float2Serializer.class)
    private Float cof1;
    public Float getPcof6() {
		return pcof6;
	}

	public void setPcof6(Float pcof6) {
		this.pcof6 = pcof6;
	}

	private Float pcof6;
    
    public Float getPcof1() {
		return pcof1;
	}

	public void setPcof1(Float pcof1) {
		this.pcof1 = pcof1;
	}

	public Float getPcof2() {
		return pcof2;
	}

	public void setPcof2(Float pcof2) {
		this.pcof2 = pcof2;
	}

	public Float getPcof3() {
		return pcof3;
	}

	public void setPcof3(Float pcof3) {
		this.pcof3 = pcof3;
	}

	public Float getPcof4() {
		return pcof4;
	}

	public void setPcof4(Float pcof4) {
		this.pcof4 = pcof4;
	}

	private Float pcof1;
    @JsonSerialize(using = Float2Serializer.class)
    private Float pcof2;
    @JsonSerialize(using = Float2Serializer.class)
    private Float pcof3;
    @JsonSerialize(using = Float2Serializer.class)
    private Float pcof4;

    @JsonSerialize(using = Float2Serializer.class)
    private Float height2;

    @JsonSerialize(using = Float2Serializer.class)
    private Float cof2;

    @JsonSerialize(using = Float2Serializer.class)
    private Float height3;

    @JsonSerialize(using = Float2Serializer.class)
    private Float cof3;

    @JsonSerialize(using = Float2Serializer.class)
    private Float height4;

    @JsonSerialize(using = Float2Serializer.class)
    private Float cof4;

    @JsonSerialize(using = Float2Serializer.class)
    private Float start;

    @JsonSerialize(using = Float2Serializer.class)
    private Float end;
    @JsonSerialize(using = Float2Serializer.class)
    private Float cof5;
    public Float getOilstandard() {
		return oilstandard;
	}

	public void setOilstandard(Float oilstandard) {
		this.oilstandard = oilstandard;
	}

	private Float oilstandard;
    public Integer overcount;
    public Integer getOvercount() {
        return overcount;
    }

    public void setOvercount(Integer overcount) {
        this.overcount = overcount;
    }
    public Float getCof6() {
        return cof6;
    }

    public void setCof6(Float cof6) {
        this.cof6 = cof6;
    }

    @JsonSerialize(using = Float2Serializer.class)
    private Float cof6;
    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取所属变电站的编号。外键，指向staion的主键id。
     *
     * @return stationid - 所属变电站的编号。外键，指向staion的主键id。
     */
    public Integer getStationid() {
        return stationid;
    }

    /**
     * 设置所属变电站的编号。外键，指向staion的主键id。
     *
     * @param stationid 所属变电站的编号。外键，指向staion的主键id。
     */
    public void setStationid(Integer stationid) {
        this.stationid = stationid;
    }

    /**
     * 获取设备组
     *
     * @return devicegroup - 设备组
     */
    public Integer getDevicegroup() {
        return devicegroup;
    }

    /**
     * 设置设备组
     *
     * @param devicegroup 设备组
     */
    public void setDevicegroup(Integer devicegroup) {
        this.devicegroup = devicegroup;
    }

    /**
     * 获取设备地址
     *
     * @return deviceaddr - 设备地址
     */
    public Integer getDeviceaddr() {
        return deviceaddr;
    }

    /**
     * 设置设备地址
     *
     * @param deviceaddr 设备地址
     */
    public void setDeviceaddr(Integer deviceaddr) {
        this.deviceaddr = deviceaddr;
    }

    /**
     * @return gas
     */
    public String getGas() {
        return gas;
    }

    /**
     * @param gas
     */
    public void setGas(String gas) {
        this.gas = gas;
    }

    /**
     * @return height1
     */
    public Float getHeight1() {
        return height1;
    }

    /**
     * @param height1
     */
    public void setHeight1(Float height1) {
        this.height1 = height1;
    }

    /**
     * @return cof1
     */
    public Float getCof1() {
        return cof1;
    }

    /**
     * @param cof1
     */
    public void setCof1(Float cof1) {
        this.cof1 = cof1;
    }

    /**
     * @return height2
     */
    public Float getHeight2() {
        return height2;
    }

    /**
     * @param height2
     */
    public void setHeight2(Float height2) {
        this.height2 = height2;
    }

    /**
     * @return cof2
     */
    public Float getCof2() {
        return cof2;
    }

    /**
     * @param cof2
     */
    public void setCof2(Float cof2) {
        this.cof2 = cof2;
    }

    /**
     * @return height3
     */
    public Float getHeight3() {
        return height3;
    }

    /**
     * @param height3
     */
    public void setHeight3(Float height3) {
        this.height3 = height3;
    }

    /**
     * @return cof3
     */
    public Float getCof3() {
        return cof3;
    }

    /**
     * @param cof3
     */
    public void setCof3(Float cof3) {
        this.cof3 = cof3;
    }

    /**
     * @return height4
     */
    public Float getHeight4() {
        return height4;
    }

    /**
     * @param height4
     */
    public void setHeight4(Float height4) {
        this.height4 = height4;
    }

    /**
     * @return cof4
     */
    public Float getCof4() {
        return cof4;
    }

    /**
     * @param cof4
     */
    public void setCof4(Float cof4) {
        this.cof4 = cof4;
    }

    /**
     * @return start
     */
    public Float getStart() {
        return start;
    }

    /**
     * @param start
     */
    public void setStart(Float start) {
        this.start = start;
    }

    /**
     * @return end
     */
    public Float getEnd() {
        return end;
    }

    /**
     * @param end
     */
    public void setEnd(Float end) {
        this.end = end;
    }

    public Float getCof5() {
        return cof5;
    }

    public void setCof5(Float cof5) {
        this.cof5 = cof5;
    }
}